<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:c="http://java.sun.com/jsp/jstl/core"
        xmlns:components="http://java.sun.com/jsf/composite/components"
>
<head>

    <link href="#{request.contextPath}/resources/css/main.css" rel="stylesheet"/>
</head>
<body>
 <h2>Edit Customer</h2>

<div class="divTable blueTable">

    <form method="POST" action="">
        <div class="divTableRow">
            <div class="divTableCell">Name:</div>
            <div class="divTableCell"><input type="text" name="name" id="name" value="${customer.name}" /></div>
        </div>
        <div class="divTableRow">
            <div class="divTableCell">Address:</div>
            <div class="divTableCell"><input type="text" name="address" id="address"  value="${customer.address}" /></div>
        </div>
        <div class="divTableRow">
            <div class="divTableCell">Email:</div>
            <div class="divTableCell"><input type="text" name="email" id="email"  value="${customer.email}" /></div>
        </div>
        <input type="submit" class="myButton" value="Save"/>
    </form>

 </div>

</body>
</html>

